package com.project.service;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.project.bean.RecordBean;

import java.time.LocalDate;

/**
 * 日志
 */
@SuppressWarnings("all")
public interface RecordService extends IService<RecordBean> {


    /**
     * 分页显示
     * @param pageNO
     * @param pageSize
     * @return
     */
    Page<RecordBean> findAllRecord(int pageNO,int pageSize);


    /**
     * 日期显示日志
     * @param pageNO
     * @param pageSize
     * @param startTime
     * @param endTime
     * @return
     */
    IPage<RecordBean> findName(int pageNO, int pageSize, LocalDate startTime,LocalDate endTime);
}
